<?
include("inc_security.php");
	//check quyền them sua xoa
	checkAddEdit("delete");

	$record_id		= getValue("record_id","str","POST","0");
	$arr_record 	= explode(",", $record_id);
    $arr_record = array_filter($arr_record);
    if(!empty($arr_record)){
        $db_del = new db_execute("DELETE FROM ". $fs_table ." WHERE " . $id_field . " IN (" .implode(',', $arr_record).")");
    }
	echo "Có " . count($arr_record) . " danh mục đã được xóa !";
?>